4D Chart v13

CT SET AXIS ATTRIBUTES

Home

 
4D Chart v13
CT SET AXIS ATTRIBUTES

CT SET AXIS ATTRIBUTES 


 

CT SET AXIS ATTRIBUTES ( area ; object ; axis ; minorTick ; majorTick ; location ; reverse ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
axis  Integer in Chart axis 0 = Category 1 = Series 2 = Values
minorTick  Integer in Minor tick kind -1 = No change 0 = None 1 = Inside 2 = Outside 3 = Cross
majorTick  Integer in Major tick kind -1 = No change 0 = None 1 = Inside 2 = Outside 3 = Cross
location  Real in Axis location (position at which the axis is placed)
reverse  Integer in Reverse order 0 = Do not reverse 1 = Reverse -1 = No change

The CT SET AXIS ATTRIBUTES command sets the attributes of the axis specified by area, object, and axis. This command applies only to two-dimensional graphs.

minorTick and majorTick refer to the tick marks on axis.

location refers to the number of the value at which the axis crosses another axis. If axis is a horizontal axis, location is the number of increments from the bottom of the vertical axis; if axis is a vertical axis, location is the number of increments from the left of the horizontal axis.

If the reverse parameter is equal to 1, the items graphed on the axis are in reverse order. If reverse is equal to 0, the items remain in their original order.

Example  

This example changes the Category axis attributes for the chart specified by $ChartID.

 CT SET AXIS ATTRIBUTES(vArea;$ChartID;0;0;3;160;1)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14533

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET AXIS ATTRIBUTES